package com.auxgroup.smarthome.business.service;

import com.auxgroup.smarthome.business.service.inner.FeignAppFilterFaultService;
import com.auxgroup.smarthome.business.vo.AppFilterFaultVo;
import com.auxgroup.smarthome.syscode.BusinessCode;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.stereotype.Component;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/9/10 15:11.
 */
@Component
public class FeignAppFilterFaultServiceFallBack implements FeignAppFilterFaultService {
    @Override
    public ApiResponse<AppFilterFaultVo> getFilterFault(String mac) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }
}
